#ifndef __GE_LABEL_H__
#define __GE_LABEL_H__

#include "GE_Base.h"
namespace Syp
{
	class SYPAPI Label : public GuiBase
	{
	public:
		///Creates a Label and returns a pointer to it, f defines the Font to be used to render the Label, it will by default use the system font.
		static Label* createLabel(const String& name,const String& text,Font* f = 0);
		///Sets the text for the Label
		void setText(const String& txt);
		///Sets the font to be used for the Label
		void setTextFont(Font* f);	
	protected:
		virtual void genMesh(){};
		
		Label(const String& name,const String& text,Font* f);
		~Label(){};
		String title;
		Font* fo;

	};

}
#endif //__GE_LABEL_H__
